﻿using System;
using System.Collections.Generic;
using System.Text;
using Pay.TO;

namespace Pay.DTO {
	/// <summary>
	/// 功能菜单表:mc_Feature
	/// </summary>
	[Serializable]
	public class feature_dto {
		public feature_dto() {
			children = new List<feature_dto>();
		}

		/// <summary>
		/// 
		/// </summary>
		public long id { get; set; }
		/// <summary>
		/// 名称
		/// </summary>
		public string name { get; set; }
		/// <summary>
		/// 类型：1平台，2店铺
		/// </summary>
		public FeatureType type { get; set; }
		/// <summary>
		/// 上级ID
		/// </summary>
		public long parent_id { get; set; }
		/// <summary>
		/// 分类的深度
		/// </summary>
		public int depth { get; set; }
		/// <summary>
		/// 上级路径以-隔开
		/// </summary>
		public string path { get; set; }
		/// <summary>
		/// 备注
		/// </summary>
		public string remark { get; set; }
		/// <summary>
		/// 链接
		/// </summary>
		public string url { get; set; }
		/// <summary>
		/// 跳转链接
		/// </summary>
		public string goto_url { get; set; }
		/// <summary>
		/// 图标
		/// </summary>
		public string icon { get; set; }
		/// <summary>
		/// 排序
		/// </summary>
		public int sort { get; set; }

		public List<feature_dto> children { get; set; }
	}
}